package com.ming.designPatterns.observerPattern;



/**
 * @Auther: tangC
 * @Date: 2020/7/14 17:21
 * @Description:
 */
public interface Subject {
    public void setState(int state);
    public int getState();
    public void attach(Observer obs);
    public void detach(Observer obs);
    public void notify(String msg);
}
